package com.wenshi.system.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "modbus请求映射表",description = "")
@TableName(value = "modbus_mapping")
public class ModbusMapping implements Serializable {
    /** plc地址 */
    @ApiModelProperty(name = "plc地址",notes = "")
    @TableId
    private String plcAddress ;
    /** modbus 通讯地址 */
    @ApiModelProperty(name = "modbus 通讯地址",notes = "")
    private Integer modbusAddress ;
    /** 功能码 */
    @ApiModelProperty(name = "功能码",notes = "")
    private Integer functionCode ;
    /** 注释 */
    @ApiModelProperty(name = "注释",notes = "")
    private String functionDesc ;
    /** 告警代码 */
    @ApiModelProperty(name = "告警代码",notes = "")
    private String alarmCode ;
    @ApiModelProperty(name = "设备内容字段",notes = "")
    private String deviceName ;
    /** 告警代码 */
    @ApiModelProperty(name = "设备内容描述",notes = "")
    private String deviceDesc ;


}
